package com.longrise.common.utils;

import android.content.Context;
import android.os.Bundle;
import android.view.KeyEvent;

import com.longrise.common.R;


/**
 * Created by xkj on 2016/3/25.
 *
 */
public class DownLoadDetailDialog extends AppBaseDialog {

    public DownLoadDetailDialog(Context context) {
        super(context);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.byjk_loading_dialog);
        init();
    }

    @Override
    public int getLayoutResourceId(Bundle bundle) {
        return R.layout.byjk_loading_dialog;
    }

    @Override
    public void init() {
    }

    @Override
    public void regEvent() {
    }

    @Override
    public boolean onKeyDown(int keyCode, KeyEvent event) {
        if (keyCode == KeyEvent.KEYCODE_BACK) {
            return true;
        }
        return super.onKeyDown(keyCode, event);
    }

}
